home *** CD-ROM | disk | FTP | other *** search
/ The CICA Windows Explosion! / The CICA Windows Explosion! - Disc 2.iso / demo / medmfc.zip / README.1 < prev    next >
Text File  |  1994-06-27  |  4KB  |  123 lines

  1.                    A CEdit and CEditView Replacement for
  2.                      the Microsoft Foundation Classes
  3.                    --------------------------------------
  4.  
  5.                            incorporating the
  6.  
  7.                    Magma Editor DLL for Microsoft Windows
  8.                    --------------------------------------
  9.  
  10. (C) Copyright 1994 Magma Systems  All Rights Reserved
  11.  
  12. Magma Systems
  13. 15 Bodwell Terrace
  14. Millburn, New Jersey  07041
  15. USA
  16.  
  17. (201) 912-0192  (voice)
  18. (201) 912-0103  (fax)
  19. (201) 912-0668  (BBS, 9600-1200 N-8-1)
  20.  
  21. Compuserve : 75300,2062
  22.              To get to our conference, GO MAGMA
  23.  
  24. Bix        : 'magma'
  25.              To get to our conference, 'join magma'
  26.  
  27. Internet   : 75300.2062@compuserve.com
  28.              magma@bix.com
  29.  
  30.  
  31.  
  32. (The following is rough documentation for the Magma Editor DLL. 
  33. Please send all your comments to Magma Systems)
  34.  
  35.  
  36. The CMagmaEdit Class
  37. --------------------
  38.  
  39. The CEdit editor class from the Microsoft Foundation Classes (MFC) has
  40. a limitation in that it cannot edit more than 64K bytes of text.
  41. The Magma Editor DLL overcomes this restriction by allowing you to edit
  42. text as large as the memory which Microsoft Windows will globally allocate.
  43.  
  44. We have created a new MFC class called CMagmaEdit which is inherited from
  45. the CEdit class. Most of the editing operations which are supported
  46. by the CEdit class are also supported by the CMagmaEdit class. In addition,
  47. the Magma Editor DLl has the following features :
  48.  
  49. - Regular expression search and substitution
  50.  
  51. - Various block operations. Line marking, column marking, block
  52.   marking, and discontiguous line marking.
  53.  
  54. - Keyboard macros
  55.  
  56. - Messages to read and write to files.
  57.  
  58. - More varieties of cursor movement. Ability to jump to a specific line,
  59.   and to set bookmarks in the text.
  60.  
  61. - The ability to be in overstrike as well as in insert mode.
  62.  
  63. A full list of features can be found by reading the file EDITOR.DOC which
  64. is enclosed in this file.
  65.  
  66.  
  67. The CMagmaEditView Class
  68. ------------------------
  69.  
  70. The CEditView class from the Microsoft Foundation Classes is used as a
  71. wrapper around the CEdit class in order to create text editing windows
  72. which contain more capabilities than the standard CEdit class offers.
  73. For example, using the CEditView class, you can easily build an MDI-based
  74. text editor which incorporates search-and-replace and printing.
  75.  
  76. The Multipad sample application is a good demonstration of the CEditView
  77. class. In a few lines, one can build a full MDI-based text editor.
  78. We have enhanced Multipad so that it uses the CMagmaEditView and the
  79. CMamaEdit classes. We have also enhanced Multipad so that more information
  80. is displayed in the status line.
  81.  
  82. Using the CMagmaEditView class instead of the CEditView class is as
  83. easy as substituting the string 'CMagmaEditView' for 'CEditView'.
  84. The only change which we originally made in the Multipad source
  85. code to use the CMagmaEditView class was in the following statement :
  86.  
  87.     AddDocTemplate(new CMultiDocTemplate(IDR_TEXTTYPE,
  88.         RUNTIME_CLASS(CPadDoc), RUNTIME_CLASS(CMDIChildWnd),
  89.         RUNTIME_CLASS(CEditView)));
  90.  
  91.                was changed to
  92.  
  93.     AddDocTemplate(new CMultiDocTemplate(IDR_TEXTTYPE,
  94.         RUNTIME_CLASS(CPadDoc), RUNTIME_CLASS(CMDIChildWnd),
  95.         RUNTIME_CLASS(CMagmaEditView)));
  96.                               ^^^^^^^^^^^^^^
  97.  
  98. We have enclosed the full source code to the CMagmaEditView and 
  99. CMagmaEdit classes. The files of interest are MAGMAED.CPP and
  100. MAGMAED.HPP. You may feel free to enhance these files, but if
  101. you do, we at Magma Systems would appeciate hearing about any
  102. good changes you made.
  103.  
  104.  
  105. Limitations of the Demo
  106. -----------------------
  107.  
  108. The 'Lite' version of the Magma Editor DLL is limited to 100 lines.
  109.  
  110.  
  111. For More Information
  112. --------------------
  113.  
  114. The file MED100.ZIP contains a multi-file MDI-based text editor
  115. which demonstrates additional capabilities of the Magma Editor DLL.
  116.  
  117. The Magma Editor DLL is supported in the MAGMA conference on CompuServe.
  118. To get to our conference, enter the command GO MAGMA.
  119.  
  120. We can also be reached by the Internet at magma@bix.com or 
  121. 75300.2062@compuserve.com.
  122.  
  123.